<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/pages/";
%>
<html>
<head>
    <base href="<%= basePath %>"/>
    <style>
        body {
            margin: 0;
            font-family: 'Segoe UI', 'Arial', sans-serif;
            background: #fff;
        }
        .sidebar {
            width: 220px;
            height: 100vh;
            box-shadow: 2px 0 8px rgba(0,0,0,0.04);
            padding-top: 32px;
            display: flex;
            flex-direction: column;
        }
        .sidebar a {
            display: block;
            padding: 16px 32px;
            color: #333;
            text-decoration: none;
            font-size: 1.1rem;
            border-left: 4px solid transparent;
            transition: background 0.2s, border-color 0.2s;
        }
        .sidebar a:hover, .sidebar a.active {
            background: #f0f4ff;
            border-left: 4px solid #4f8cff;
            color: #357ae8;
        }
    </style>
</head>
<body>
    <nav class="sidebar">
        <a href="/app/FinancialStatements" target="mainFrame">近期流水大屏</a>
        <a href="/app/SupplierSServlet" target="mainFrame">供应商管理</a>
        <a href="/app/supp" target="mainFrame">商品管理</a>
        <a href="stock_manage/stock_manage.jsp" target="mainFrame">库存管理</a>
        <a href="/app/purchase_order?page=1" target="mainFrame">入库订单管理</a>
        <a href="/app/salerorder?page=1" target="mainFrame">销售订单管理</a>
        <a href="property_manage/property_manage.jsp" target="mainFrame">财务管理</a>
        <a href="/app/AdminServlet" target="mainFrame">管理员用户管理</a>
        <a href="/app/UserShowServlet" target="mainFrame">普通用户管理</a>
    </nav>
</body>
</html> 